package com.demo.util;

import java.io.*;
import java.util.ArrayList;
import java.util.List;

public class ReadCsv {

    public static void main(String[] args) {
        String path = "/Users/jasper/Desktop/107015090093298.csv";
        List<String> dataList = new ArrayList<>();
        try {
            FileReader fileReader = new FileReader(path);
            BufferedReader bufferedReader = new BufferedReader(fileReader);
            bufferedReader.readLine();
            String line = null;
            while ((line = bufferedReader.readLine()) != null)
            {
                String item[] = line.split("，");
                String last = item[item.length-1];
                dataList.add(last);
            }
            System.out.println();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
